package top.v5it.japi.plus.data.support.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 服务器证书
 *
 * @author zhanpu
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Cert implements Serializable {

    private static final long serialVersionUID = 8803883701693313377L;

    /**
     * 证书名称
     */
    private String name;

    /**
     * 证书公钥
     */
    private String publicKey;

    /**
     * 证书私钥
     */
    private String privateKey;

    /**
     * 证书序列号
     */
    private String serialNo;

    /**
     * 证书生效日期
     */
    private String startTime;

    /**
     * 证书月效期
     */
    private String endTime;

}
